import request from '@/utils/request/index.js'
export default {
  // 团长管理-我的帮卖
  getHeadList(data) {
    return request({
      url: '/store/mini/head/getHeadList',
      method: 'POST',
      data
    })
  },
  // 待审核帮卖
  getWaitExamineList(data) {
    return request({
      url: '/store/mini/head/getWaitExamineList',
      method: 'POST',
      data
    })
  },
  // 团长管理页面-列表总数
  getHeadPageInfo(data) {
    return request({
      url: '/store/mini/head/getHeadPageInfo',
      method: 'POST',
      data
    })
  },
  // 修改帮卖团长备注
  updateHeadRemark(data) {
    return request({
      url: '/store/mini/head/updateHeadRemark',
      method: 'POST',
      data
    })
  },
  // 审核帮卖
  examine(data) {
    return request({
      url: '/store/mini/head/examine',
      method: 'POST',
      data
    })
  },
  // 申请成为帮卖
  applyBeHead(data) {
    return request({
      url: '/store/mini/head/applyBeHead',
      method: 'POST',
      data
    })
  },
  // 达人详情-TA帮卖的团
  getHelpSellDynamic(data) {
    return request({
      url: '/store/mini/head/getHelpSellDynamic',
      method: 'POST',
      data
    })
  },
  // 达人详情-帮卖团长信息
  getHeadInfo(data) {
    return request({
      url: '/store/mini/head/getHeadInfo',
      method: 'POST',
      data
    })
  },
  // 达人详情-已获取佣金明细
  getCommissionDetails(data) {
    return request({
      url: '/store/mini/head/getCommissionDetails',
      method: 'POST',
      data
    })
  },
  // 解除帮卖关系
  relieveGroup(data) {
    return request({
      url: '/store/mini/head/relieveGroup',
      method: 'POST',
      data
    })
  },
  // 取消该帮卖团长
  cancelHead(data) {
    return request({
      url: '/store/mini/head/cancelHead',
      method: 'POST',
      data
    })
  },
  // 团长管理-供我货的
  getGroupList(data) {
    return request({
      url: '/store/mini/head/getGroupList',
      method: 'POST',
      data
    })
  },
  // 团长管理-供我货的-佣金明细
  getHelpSellCommissionData(data) {
    return request({
      url: '/store/mini/head/getHelpSellCommissionData',
      method: 'POST',
      data
    })
  },
  // 帮卖介绍--展示页信息
  getHelpSellIntroduce(data) {
    return request({
      url: '/store/mini/account/getHelpSellIntroduce',
      method: 'POST',
      data
    })
  },
  // 帮卖介绍--获取社群编辑信息
  getHelpSellCommunity(data) {
    return request({
      url: '/store/mini/account/getCommunityInfo',
      method: 'POST',
      data
    })
  },
  // 帮卖介绍--新增\编辑
  updateHelpSellIntroduce(data) {
    return request({
      url: '/store/mini/account/updateIntroduce',
      method: 'POST',
      data
    })
  },
  // 帮卖介绍--修改社群数据展示
  updateCommunityInfo(data) {
    return request({
      url: '/store/mini/account/updateCommunityInfo',
      method: 'POST',
      data
    })
  },
  // 上下游--我的帮卖卡片数据
  getHelpSellCard() {
    return request({
      url: '/store/mini/head/getHelpSellCardData',
      method: 'POST'
    })
  },
  // 上下游--我的帮卖列表数据
  getHelpSellList(data) {
    return request({
      url: '/store/mini/head/getHeadList',
      method: 'POST',
      data
    })
  },
  // 上下游--我的供货卡片数据
  getSupplyCard() {
    return request({
      url: '/store/mini/head/getGroupCardData',
      method: 'POST'
    })
  },
  // 上下游--我的供货列表
  getSupplyList(data) {
    return request({
      url: '/store/mini/head/getGroupList',
      method: 'POST',
      data
    })
  },
  // 上下游-一键推荐赚奖金-已开启推荐奖金供货列表
  getOpenRecommendBonusGroupList(data) {
    return request({
      url: '/store/mini/head/getOpenRecommendBonusGroupList',
      method: 'POST',
      data
    })
  },
  // 一键推荐
  oneKeyRecommend(data) {
    return request({
      url: '/store/mini/head/oneKeyRecommend',
      method: 'POST',
      data
    })
  },
  // 精选供货
  getShareGroupList(data) {
    return request({
      url: '/store/mini/head/getShareGroupList',
      method: 'POST',
      data
    })
  },
  // 批量申请成为帮卖
  batchApplyBeHead(data) {
    return request({
      url: '/store/mini/head/batchApplyBeHead',
      method: 'POST',
      data
    })
  }
}